package cn.tedu.carrent.user.mapper;

import cn.tedu.carrent.user.pojo.dto.UserQuary;
import cn.tedu.carrent.user.pojo.entity.User;
import cn.tedu.carrent.user.pojo.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

//@Repository加在数据层接口上，表示该类拥有对数据库CRUD的权限 Create Read Update Delete
@Repository
public interface UserMapper {
    UserVO selectByUsername(String username);
    void insert(User user);
    List<UserVO> selectUser(UserQuary userQuary);
//    void update(User user);
//    void deleteById(Long userId);
//
//    UserVO selectAudit(Long parentId);
}
